#ifndef __TIME_H__
#define __TIME_H__

extern bool g_second_flag;
void timer_init(void);
void time_measure_start(uint16_t *pinital);
uint16_t time_measure_get_ms(uint16_t inital);

void TIM2_IRQHandler(void);

#endif

